package graph.drawingshapes.tools
{
	public class PenDrawingTool extends SimpleDrawingTool
	{
		public static const NAME:String = "PenDrawingTool"
		public override function get getName():String 
		{
			return NAME;
		}
		
		public function PenDrawingTool(size:Number=DefaultSize, color:uint=DefaultColor, alpha:Number=DefaultAlpha)
		{
			super(size, color, alpha);
		}
		
		protected override function draw():void
		{
			var halfSize:Number = size / 2;
			this.graphics.moveTo(-halfSize, halfSize);
			this.graphics.lineTo(halfSize, -halfSize);
		}
		
	}
}